package a.b;

public final class a
{
  public static int a;
  
  public static c a(c paramc)
  {
    j.a_ locala_ = new j.a_(0.5D, 0.5D);
    return new j(paramc, locala_);
  }
  
  public static c a(c paramc, double paramDouble1, double paramDouble2)
  {
    boolean bool = d.o;
    if ((bool) || (0.0D <= paramDouble1))
    {
      if (bool) {
        break label57;
      }
      if (1.0D >= paramDouble1) {}
    }
    else
    {
      throw new IllegalArgumentException("stopAcceleration: " + paramDouble1);
    }
    label57:
    if ((bool) || (0.0D <= paramDouble2))
    {
      if (bool) {
        break label111;
      }
      if (1.0D >= paramDouble2) {}
    }
    else
    {
      throw new IllegalArgumentException("startDeceleration: " + paramDouble2);
    }
    if ((bool) || (paramDouble1 > paramDouble2))
    {
      label111:
      double d = paramDouble1;
      paramDouble1 = paramDouble2;
      paramDouble2 = d;
    }
    j.a_ locala_ = new j.a_(paramDouble1, paramDouble2);
    return new j(paramc, locala_);
  }
  
  public static g a()
  {
    return i.a();
  }
  
  public static g a(c paramc1, c paramc2)
  {
    g localg = i.a();
    localg.a(paramc1);
    localg.a(paramc2);
    return localg;
  }
  
  public static g b()
  {
    return i.c();
  }
  
  public static g b(c paramc1, c paramc2)
  {
    g localg = i.c();
    localg.a(paramc1);
    localg.a(paramc2);
    return localg;
  }
  
  public static g c()
  {
    return f.a();
  }
  
  public static g c(c paramc1, c paramc2)
  {
    g localg = f.a();
    localg.a(paramc1);
    localg.a(paramc2);
    return localg;
  }
  
  public static g d()
  {
    return f.c();
  }
  
  public static g d(c paramc1, c paramc2)
  {
    g localg = f.c();
    localg.a(paramc1);
    localg.a(paramc2);
    return localg;
  }
  
  public static c a(c paramc, long paramLong, boolean paramBoolean)
  {
    if (!d.o) {
      if (paramc.c() > paramLong)
      {
        String str = paramc.c() + " >  " + paramLong;
        throw new IllegalArgumentException(str);
      }
    }
    if (paramBoolean) {
      return h.c(paramc, paramLong);
    }
    return h.a(paramc, paramLong);
  }
  
  public static c a(c paramc, int paramInt, boolean paramBoolean)
  {
    if (!d.o) {
      if (paramInt < 1)
      {
        String str = "repetitions = " + paramInt + " < 1";
        throw new IllegalArgumentException(str);
      }
    }
    if (paramBoolean) {
      return h.c(paramc, paramInt);
    }
    return h.a(paramc, paramInt);
  }
  
  public static c a(long paramLong)
  {
    if (paramLong < 0L)
    {
      String str = "preferredDuration = " + paramLong + " < 0";
      throw new IllegalArgumentException(str);
    }
    return new b_(paramLong);
  }
  
  public static c b(c paramc)
  {
    return new a_(paramc);
  }
  
  private static final class a_
    implements c
  {
    private final c a;
    private boolean b;
    
    a_(c paramc)
    {
      this.a = paramc;
      this.b = false;
    }
    
    public void a()
    {
      if (!d.o)
      {
        if (!this.b) {
          this.a.a();
        }
      }
      else {
        this.b = true;
      }
    }
    
    public void a(double paramDouble)
    {
      this.a.a(paramDouble);
    }
    
    public void b()
    {
      if (!d.o)
      {
        if (this.b) {
          this.a.b();
        }
      }
      else {
        this.b = false;
      }
    }
    
    public long c()
    {
      return this.a.c();
    }
  }
  
  private static final class b_
    implements c
  {
    private final long a;
    
    b_(long paramLong)
    {
      this.a = paramLong;
    }
    
    public void a() {}
    
    public void a(double paramDouble) {}
    
    public void b() {}
    
    public long c()
    {
      return this.a;
    }
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.b.a
 * JD-Core Version:    0.7.0.1
 */